package log;


public class LogConstants {
	
	/*
	 * XXX Scenario
	 */
	
	/**
	 * Current participant
	 */
	public static final String Participant = "Participant";
	
	/**
	 * Amount of blocks for the current participant
	 */
	public static final String NbBlocks = "Nb Blocks";
	
	/**
	 * Current block
	 */
	public static final String Block = "Block";
	
	/**
	 * Amount of trials in the current block
	 */
	public static final String NbTrials = "Nb Trials";
	
	/**
	 * Current trial
	 */
	public static final String Trial = "Trial";
	
	
	
	/* 
	 * XXX Factors
	 */
	
	/**
	 * Factor: German or English session
	 */
	public static final String Session = "Session";
	
	/**
	 * Factor: Which image should be named
	 */
	public static final String Reading = "Reading";
	
	/**
	 * Factor: Name of the left image
	 */
	public static final String LeftImage = "Left image";
	
	/**
	 * Factor: Name of the right image
	 */
	public static final String RightImage = "Right image";
	
	/**
	 * Factor: Name of the right image
	 */
	public static final String TargetImage = "Target image";

	
	
	/* 
	 * XXX Log fields
	 */
	
	/**
	 * Measure: The answer given by the participant
	 */
	public static final String Answer = "Answer";
	
	/**
	 * Measure: Whether the participant knew the answer or not
	 */
	public static final String Knew = "Knew";
	
	/**
	 * Measure: Whether the final answer was a mistake 
	 */
	public static final String Error = "Error";
	
	/**
	 * Measure: Duration of the answer, from disappearance of the images
	 * to the submission of an answer
	 */
	public static final String AnswerTime = "Answer Time";
	
	/**
	 * Measure: Reaction time between the disappearance of the images to
	 * the first button press
	 */
	public static final String ReactionTime = "Reaction Time";
	
	/**
	 * Measure: Number of times a button was clicked before validating
	 */
	public static final String NbAnswers = "Nb Answers";
	
	
	/**
	 * Measure: timestamp of the start of the trial in ms.
	 */
	public static final String TimeStart = "Start TS";
	
	/**
	 * Measure: timestamp of the final click in ms
	 */
	public static final String TimeEnd = "End TS";
	
	/**
	 * Measure: timestamp of the final click in ms
	 */
	public static final String TimeAnswerStart = "Start Answer TS";
	
	/**
	 * Measure: first button press
	 */
	public static final String TimeFirstPress = "First Press TS";
	
	
	/* 
	 * XXX Cinematic log fields
	 */
	
	/**
	 * Measure: timestamp of the event
	 */
	public static final String When = "When ms";
	
	/**
	 * Measure: phase of the event
	 */
	public static final String Phase = "Phase";
	
	/**
	 * Measure: current mode of DualMode techniques
	 */
	public static final String Mode = "Mode";
	
	/**
	 * Value: dwell phase
	 */
	public static final String DwellPhase = "Dwell";
	/**
	 * Value: dwell phase
	 */
	public static final String TrialPhase = "Trial";
	/**
	 * Value: block phase
	 */
	public static final String BlockPhase = "Block";

	/**
	 * Measure: current x coordinate of the cursor in mm.
	 * (0, 0) is the center of the screen.
	 */
	public static final String CursorX = "Cursor.X mm";

	/**
	 * Measure: current y coordinate of the cursor in mm
	 * (0, 0) is the center of the screen.
	 */
	public static final String CursorY = "Cursor.Y mm";
	
	/**
	 * Measure: width of the input zone in mm
	 */
	public static final String ZoneWidth = "Zone Width mm";
	
	/**
	 * Measure: height of the input zone in mm
	 */
	public static final String ZoneHeight = "Zone Height mm";
	
	/**
	 * Measure: current x coordinate of the finger on the surface in mm.
	 */
	public static final String FingerX = "Finger.X mm";

	/**
	 * Measure: current y coordinate of the finger on the surface in mm.
	 */
	public static final String FingerY = "Finger.Y mm";
	
	/**
	 * Measure: current speed of the finger on the surface in mm/s.
	 */
	public static final String FingerSpeed = "Finger.speed (mm/s)";
	
	/**
	 * Measure: true if the user is "pressing"
	 */
	public static final String Pressed = "Pressed";

	/**
	 * Measure: true if the cursor is on the target
	 */
	public static final String OnTarget = "On Target";

	/**
	 * Measure: true if the user is performing a clutch
	 */
	public static final String Clutch = "Clutching";
	
	//////// Device //////// 
					
	//////// Hat //////// 
			
	/**
	 * Measure: position of the hat "gaze" on the screen in mm
	 */
	public static final String HatGazeXMm = "Hat.X mm";
	
	/**
	 * Measure: position of the hat "gaze" on the screen in mm
	 */
	public static final String HatGazeYMm = "Hat.Y mm";
			
	/**
	 * Measure: hat instant velocity in mm/s
	 */
	public static final String HatVelocityMm = "Hat Velocity (mm/s)";
	
	/**
	 * Measure: hat instant TODO in mm
	 */
	public static final String HatDistanceMm = "Hat Distance mm";
	
}
